package com.example.shoppingmall.dao;

import com.example.shoppingmall.pojo.PropertyJurisdiction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PropertyJurisdictionMapper {
    public List<PropertyJurisdiction>propertyJurisdictionListByPropertyId(@Param("propertyId") int propertyId);

    public int delete(@Param("id") int id);

    public int add(PropertyJurisdiction propertyJurisdiction);

    public int chackName(@Param("name") String name, @Param("propertyId") int propertyId);
}
